<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<%@include file="static/common/common.jspf"%>
<script type="text/javascript">
	function submitForm(){
		$("#loginUser").submit();
	}
</script>
</head>
<body>
<div class="easyui-panel" title="登录界面" style="width:100%;max-width:400px;padding:30px 60px;">
	<form id="loginUser" action="user!login" method="get">
		   <div  style="margin-bottom:10px;">
			<input class="easyui-textbox" name="user.username" value="${sessionScope.u.username }" style="width:100%;height: 40px;padding: 12px;"
			data-options="prompt:'用户名',iconCls:'icon-man',iconWidth:38,required:true">
		   </div>
		   
		   <div  style="margin-bottom:10px;">
			<input class="easyui-textbox" name="user.password" value="${sessionScope.u.password }" type="password" style="width:100%;height: 40px;padding: 12px;"
			data-options="prompt:'密码',iconCls:'icon-lock',iconWidth:38,required:true">
		   </div>
		   
		   <div>
		   	<span style="color: red;font-size: 20px;margin-left: 50px">${msg}</span>
		   </div>
		   
		   <div style="margin-left: 80px">
		   		<input type="checkbox" name="RememberMe">记住我&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		   		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" style="padding:5px 0px;width:45%;" onclick="submitForm()" >
        			<span style="font-size:14px;">登录</span>
        		</a>
		   </div>
 	</form>
</div>
</body>
</html>